package com.wmx.entity;

import java.util.concurrent.Callable;

/**
 * @author:wmx 2025-03-11 19:03
 * 1、功能:
 * 2、参数{
 * <p>
 * <p>
 * }
 **/
public class MyCallable implements Callable<String> {


    @Override
    public String call() throws InterruptedException {

        for (int i = 50; 0 <= i; i--) {
            System.out.println("线程名称:"+Thread.currentThread().getName()+"出售电影票剩余:"+i);

        }

        return null;
    }
}
